﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LiJu.Model.Model
{
    public class DDKScrewParam
    {
        /// <summary>
        /// 任务号
        /// </summary>
        public int taskId { get; set; }
        /// <summary>
        /// 参数名称
        /// </summary>
        public string name { get; set; }

        /// <summary>
        /// 扭紧类型 0:扭矩法 1:角度法
        /// </summary>
        public string tighteningType { get; set; }

        /// <summary>
        /// 全量程扭矩
        /// </summary>
        public double allRangeTorque { get; set; } = 10.0;

        /// <summary>
        /// 最大扭矩下限
        /// </summary>
        public double maxTorqueLowLimit { get; set; }

        /// <summary>
        /// 最大扭矩上限
        /// </summary>
        public double maxTorqueUpLimit { get; set; }

        /// <summary>
        /// 目标扭矩
        /// </summary>
        public double targetTorque { get; set; }

        /// <summary>
        /// 开始减速扭矩
        /// </summary>
        public double slowTorque { get; set; }

        /// <summary>
        /// 1ST扭矩
        /// </summary>
        public double firstTorque { get; set; }

        /// <summary>
        /// SNUG扭矩
        /// </summary>
        public double sungTorque { get; set; }

        /// <summary>
        /// 2ND扭矩
        /// </summary>
        public double secendTorque { get; set; }

        /// <summary>
        /// 最終扭矩下限
        /// </summary>
        public double lastTorqueLowlimit { get; set; }

        /// <summary>
        /// 最終扭矩上限
        /// </summary>
        public double lastTorqueUplimit { get; set; }

        /// <summary>
        /// 1ST角度
        /// </summary>
        public double firstAngle { get; set; } = 9999.9;

        /// <summary>
        /// 2ND角度
        /// </summary>
        public double secendAngle { get; set; } = 9999.9;

        /// <summary>
        /// 起始时间
        /// </summary>
        public double startTime { get; set; }

        /// <summary>
        /// 初期速度
        /// </summary>
        public double startSpeed { get; set; } = 1;


        /// <summary>
        /// 空转速度
        /// </summary>
        public double noTorqueSpeed { get; set; } = 1;

        /// <summary>
        /// 1st速度
        /// </summary>
        public double firstSpeed { get; set; } = 1;


        /// <summary>
        /// 2nd速度
        /// </summary>
        public double secendSpeed { get; set; } = 1;


        /// <summary>
        /// 3rd速度
        /// </summary>
        public double thirdSpeed { get; set; } = 1;

        /// <summary>
        /// 反转速度
        /// </summary>
        public double reverseSpeed { get; set; } = 1;

        /// <summary>
        /// 1ST时间上限
        /// </summary>
        public double firstTimeUpLimit { get; set; }


        /// <summary>
        /// 2ND时间上限
        /// </summary>
        public double secendTimeUpLimit { get; set; }


        /// <summary>
        /// 目標角度
        /// </summary>
        public double targeAngle { get; set; }

        /// <summary>
        /// 最終角度下限
        /// </summary>
        public double lastAngleLowlimit { get; set; }

        /// <summary>
        /// 最終角度上限
        /// </summary>
        public double lastAngleUplimit { get; set; }
    }
}
